package Games.PumpGame.Gui
{
	import Framework.BaseGui;
	
	/**
	 * ...
	 * @author Menno
	 */
	public class WallSprite extends BaseGui
	{
		private var _x:uint;
		private var _y:uint;
		private var _length:uint;
		private var _width:uint;
			
		public function WallSprite(x:uint, y:uint, length:uint, width:uint)
		{
			_width = width;
			_length = length;
			_y = y;
			_x = x;		
		}
		
		override public function draw():void 
		{
			super.draw();
			
			graphics.moveTo(_x, _y);
			graphics.lineTo(_x + width, _y + _length);
		}
	}
	
}